package com.kingyun.gpsinspection.purificationservice.services.iam.innerservice.accessory.impl;

import com.kingyun.gpsinspection.purificationservice.dao.mapper.jsm.EmployeeMapper;
import com.kingyun.gpsinspection.purificationservice.facade.model.jsm.Employee;
import com.kingyun.gpsinspection.purificationservice.facade.service.iam.accessory.IamEmployeeService;
import org.springframework.beans.factory.annotation.Autowired;

import java.util.List;

/**
 * Created by ${yangsy} on 2017/3/9.
 */
public class IamEmployeeServiceImpl implements IamEmployeeService
{
    @Autowired
    private EmployeeMapper employeeMapper;
    @Override
    public List<Employee> queryEmpIdByOrgIds(String[] orgIds)
    {
        if(orgIds.length>0){
            return employeeMapper.queryEmpIdByOrgIds(orgIds);
        }
        return null;
    }
}
